package cn.seaboot.admin.flake.bean;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * POJO
 * 结果映射 [T_FLAKE_RESULT_MAP]
 *
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "结果映射 [T_FLAKE_RESULT_MAP] 实体类")
public class FlakeResultMap implements Serializable {

    private static final long serialVersionUID = -5484280151361964700L;
    /**
     * 数据库Id
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "数据库Id")
    private String databaseId;
    /**
     * ID
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "ID")
    private String resultId;
    /**
     * 对象类型
     */
    @Size( max = 32)
    @Schema(description = "对象类型")
    private String type;

    public String getDatabaseId() {
        return databaseId;
    }

    public void setDatabaseId(String databaseId) {
        this.databaseId = databaseId;
    }

    public String getResultId() {
        return resultId;
    }

    public void setResultId(String resultId) {
        this.resultId = resultId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
